home *** CD-ROM | disk | FTP | other *** search
/ Day Cry / Day Cry CD.bin / oh_towns / eastray / program / exten387 / ray_form.ref < prev    next >
Text File  |  1994-09-20  |  17KB  |  435 lines

  1. EASTRAY V1.98  Reference Manual
  2.  
  3. ü£ïNô«é╞ÅIù╣
  4.  
  5. ü¢ïNô«Ä₧âIâvâVâçâô
  6. run386.exe render.exp â\ü[âXâtâ@âCâïû╝ âIâvâVâçâôù±
  7.  
  8. -VâIâvâVâçâô
  9.     -VDü@â{âNâZâïè╓îWé╠âfâtâHâïâgÆlüB
  10.          ÉVé╡éó.VOXâtâ@âCâïé¬æ╢ì▌é╖éΘé╞é▒é╠âtâ@âCâïé⌐éτô╟é▌ì₧é▐üB
  11.     -VLü@.VOXâtâ@âCâïé╠ì∞ɼÄ₧è╘é╔é⌐é⌐éφéτé╕üA.VOXâtâ@âCâïé⌐éτô╟é▌ì₧é▐üB
  12.     -VMü@â{âNâZâïò¬èäé╛é»é≡é¿é▒é╚éóüA.VOXâtâ@âCâïé╔Åoù═é╡é╜é╞é▒éδé┼ÅIù╣é╖éΘüB
  13.     -VCü@ûêë±â{âNâZâïò¬èäé╠îvÄZé≡é¿é▒é╚éñüB.VOXâtâ@âCâïé╔Åoù═é╡é╚éóüB
  14. -MâIâvâVâçâô
  15.     -M0
  16.     -M1
  17.     -M2  .MSGâtâ@âCâïé╠Å┌ì╫ôxé≡ò╧éªéΘüBÉöÄÜé¬Å¡é╚éóé┘é╟Å┌ì╫üB
  18.  
  19. ü¢ÅIù╣Ä₧âXâeü[â^âX 
  20. ü@ü@ü@ü@É│ÅφÅIù╣üEüEüEüEüEüEüEüEâGâëü[âîâxâïü@éO
  21. ü@ü@ü@ü@ê┘ÅφÅIù╣üEüEüEüEüEüEüEüEâGâëü[âîâxâïü@éP
  22. ü@ü@ü@ü@âtâ@âCâïé╠ò╧ìXé╚é╡üEüEüEâGâëü[âîâxâïü@éQ
  23. ü@ü@ü@ü@ì╢â{â^âôé┼ÅIù╣üEüEüEüEüEâGâëü[âîâxâïü@éR
  24. ü@ü@ü@ü@ëEâ{â^âôé┼ÅIù╣üEüEüEüEüEâGâëü[âîâxâïü@éS
  25.  
  26.  
  27. ü£ .RAYâtâ@âCâïé╠ïLÅq
  28.  
  29.    /*   */ : comment
  30.    "     " : option
  31.  
  32. ü¢rmode âîâôâ_âèâôâOâéü[âh ;     /* 0:Æ╩Åφ 1:3Dâéü[âh */
  33.  
  34. ü¢display Åoù═ëµæ£é╠éwò√îⁿé╠âhâbâgÉö    Åoù═ëµæ£é╠éxò√îⁿé╠âhâbâgÉö
  35.                  Åoù═ëµæ£é╠îvÄZèJÄnô_é╠éwì└òW  Åoù═ëµæ£é╠îvÄZèJÄnô_é╠éxì└òW
  36.                  Åoù═ëµæ£é╠îvÄZÅIù╣ô_é╠éwì└òW  Åoù═ëµæ£é╠îvÄZÅIù╣ô_é╠éxì└òW
  37.                  Åoù═ëµæ£é╠éwò√îⁿé╠âhâbâgæeé│  Åoù═ëµæ£é╠éxò√îⁿé╠âhâbâgæeé│
  38.                  Åoù═ëµæ£é╠âhâbâgé╠ÅcëíöΣ  ;
  39.  
  40. ü¢condition ì┼æσî⌡ÉⁿÆ╟É╒ë±Éö ì┼żî⌡ÉⁿÆ╟É╒î⌡ù╩ îvÄZîδì╖è█é▀Æl ôαòöò¬è≥âXâCâbâ` ;
  41.  
  42. ü¢anti âAâôâ`âGâCâèâAâWâôâOâtâëâO    /* >0 : ò¬öz, -1 : ò¬ÄU */
  43.        âAâôâ`âGâCâèâAâWâôâOâîâxâï ;
  44.  
  45. ü¢camera Äïô_é╠éwì└òW     Äïô_é╠éxì└òW     Äïô_é╠éyì└òW
  46.                 ÆìÄïô_é╠éwì└òW   ÆìÄïô_é╠éxì└òW   ÆìÄïô_é╠éyì└òW
  47.                 ò¢ÆìÄïô_é╠éwì└òW ò¢ÆìÄïô_é╠éxì└òW ò¢ÆìÄïô_é╠éyì└òW
  48.                 ëµèp(ôx)         Äïì╖âpâëâüü|â^   ;
  49.  
  50. ü¢mist ï≤ïCÆåé╠âîâCé╠ö╝î╕ïùùúü@ëαî°ë╩âXâCâbâ`ü@;
  51.  
  52. ü¢sky  ï≤é╠ÉFé╠éqɼò¬ ï≤é╠ÉFé╠éfɼò¬ ï≤é╠ÉFé╠éaɼò¬ ;
  53.  
  54. ü¢env  è┬ï½î⌡é╠éqɼò¬ è┬ï½î⌡é╠éfɼò¬ è┬ï½î⌡é╠éaɼò¬ ;
  55.  
  56. ü¢voxel â{âNâZâïò¬èäÉö ;
  57.  
  58. ü¢shadow ëeon/offâXâCâbâ` ;
  59.  
  60. ü¢output_mode Åoù═ëµæ£é╠ârâbâgÉö   âfâBâUâXâCâbâ` ;
  61.  
  62. ü¢output Åoù═ëµæ£é╠âtâ@âCâïû╝ ;  /* .TIF, .FAL */
  63.  
  64. ü¢input ôⁿù═ëµæ£é╠âtâ@âCâïû╝ ;   /* .TIF, .FAL */
  65.  
  66. ü¢back_mode öwîiìçɼâéü[âh  /* 0:sky 1:ìçɼ(î⌡î╣òsë┬Äï) 2:ìçɼ(î⌡î╣ë┬Äï) */
  67.             ö╜Ä╦ɼò¬âtâëâO  /* 0:sky 1:öwîiìçɼ */
  68.             ôºë▀ɼò¬âtâëâO  /* 0:sky 1:öwîiìçɼ */
  69.             â┐âéü[âh ;      /* 0:RGBâAâôâ`âGâCâèâAâX 1:â┐ɼò¬é╠é▌ */
  70.  
  71. ü¢map_data [
  72.                   "â}âbâsâôâOâfü[â^é╠û╝æO"
  73.                   ô╟é▌ì₧é▐â}âbâsâôâOâfü[â^é╠âtâ@âCâïû╝
  74.                   âvâîâtâBâïâ^âèâôâOâXâCâbâ`
  75.                           :
  76.                           :
  77.            ]
  78.  
  79. ü¢e_light [
  80.                   û│î└ëôî⌡î╣é╠ò√îⁿâxâNâgâïé╠éwɼò¬
  81.                   û│î└ëôî⌡î╣é╠ò√îⁿâxâNâgâïé╠éxɼò¬
  82.                   û│î└ëôî⌡î╣é╠ò√îⁿâxâNâgâïé╠éyɼò¬
  83.                   û│î└ëôî⌡î╣é╠ÉFé╠éqɼò¬
  84.                   û│î└ëôî⌡î╣é╠ÉFé╠éfɼò¬
  85.                   û│î└ëôî⌡î╣é╠ÉFé╠éaɼò¬
  86. ü@ü@ü@ü@ü@ü@ü@ü@ü@û│î└ëôî⌡î╣é╠î⌐è|é»é╠æσé½é│(ôx)
  87. ü@ü@ü@ü@ü@ü@ü@ü@ü@û│î└ëôî⌡î╣é╠î⌡é╠ÅWé▄éΦò√
  88.                   " n "     /* ëeé≡é┬é¡éτé╚éóâtâëâO */ ;
  89.                           :
  90.                           :
  91.           ]
  92.  
  93.  
  94. ü¢p_light [
  95.                   ô_î⌡î╣é╠éwì└òW
  96.                   ô_î⌡î╣é╠éxì└òW
  97.                   ô_î⌡î╣é╠éyì└òW
  98.                   ô_î⌡î╣é╠ÉFé╠éqɼò¬
  99.                   ô_î⌡î╣é╠ÉFé╠éfɼò¬
  100.                   ô_î⌡î╣é╠ÉFé╠éaɼò¬
  101. ü@ü@ü@ü@ü@ü@ü@ü@ü@ô_î⌡î╣é╠î⌡é╠î╕Éèùª
  102.                   " n "         /* ëeé≡ì∞éτé╚éóâtâëâO */
  103.                   " r ô₧ÆBïùùú"    /* ëeé≡ì∞éτé╚éóïùùú -1é┼é┬é╦é╔é┼é½éΘ */
  104.                           :
  105.                           :
  106.           ]
  107.  
  108.  
  109. ü¢s_light [
  110.                   âXâ|âbâgâëâCâgé╠î⌡î╣é╠éwì└òW
  111.                   âXâ|âbâgâëâCâgé╠î⌡î╣é╠éxì└òW
  112.                   âXâ|âbâgâëâCâgé╠î⌡î╣é╠éyì└òW
  113.                   âXâ|âbâgâëâCâgé≡ôûé─éΘô_é╠éwì└òW
  114.                   âXâ|âbâgâëâCâgé≡ôûé─éΘô_é╠éxì└òW
  115.                   âXâ|âbâgâëâCâgé≡ôûé─éΘô_é╠éyì└òW
  116.                   âXâ|âbâgâëâCâgé╠ÉFé╠éqɼò¬
  117.                   âXâ|âbâgâëâCâgé╠ÉFé╠éfɼò¬
  118.                   âXâ|âbâgâëâCâgé╠ÉFé╠éaɼò¬
  119. ü@ü@ü@ü@ü@ü@ü@ü@ü@âXâ|âbâgâëâCâgé╠ìLé¬éΦò√     /* æσ- ìiéΦé▒é▌ */
  120. ü@ü@ü@ü@ü@ü@ü@ü@ü@âXâ|âbâgâëâCâgé╠î⌡é╠ö╝î╕ïùùú
  121.                   " n "         /* ëeé≡ì∞éτé╚éóâtâëâO */
  122.                   " r ô₧ÆBïùùú"    /* ëeé≡ì∞éτé╚éóïùùú -1é┼é┬é╦é╔é┼é½éΘ */
  123.                           :
  124.                           :
  125.           ]
  126.  
  127. ü¢color [
  128.                 " ÉFé╠û╝æO "
  129.                 
  130.                 ò¿æ╠ÉFé╠éqɼò¬
  131.                 ò¿æ╠ÉFé╠éfɼò¬
  132.                 ò¿æ╠ÉFé╠éaɼò¬
  133.                 " âJâëü[â}âbâsâôâO "
  134.                 ö╜Ä╦ùªé╠éqɼò¬
  135.                 ö╜Ä╦ùªé╠éfɼò¬
  136.                 ö╜Ä╦ùªé╠éaɼò¬
  137.                 " ö╜Ä╦ùªâ}âbâsâôâO "
  138.                 ôºë▀ùªé╠éqɼò¬
  139.                 ôºë▀ùªé╠éfɼò¬
  140.                 ôºë▀ùªé╠éaɼò¬
  141.                 " ôºë▀ùªâ}âbâsâôâO "
  142.                 ïⁿÉ▄ùª
  143.                 " ïⁿÉ▄ùªâ}âbâsâôâO "
  144.                 ôºû╛ôx
  145.                 " ôºû╛ôxâ}âbâsâôâO "
  146.                 âoâôâv
  147.                 " âoâôâvâ}âbâsâôâO "
  148.                
  149.     /* ï╛û╩ö╜Ä╦î⌡Åêù¥é╠âAâïâSâèâYâÇé╠Äφù▐ */
  150.                 0 /* âuâèâôé╠âVâFü[âfâBâôâOéP (cos^n) */
  151.                     
  152.                     ânâCâëâCâgé╠ï¡ôx               /*  0.0ü`1.0 */
  153.                     " ânâCâëâCâgé╠ï¡ôxâ}âbâsâôâO "
  154.                     ânâCâëâCâgé╠ìLé¬éΦò√           /* æσ - ëséó */
  155.                     " ânâCâëâCâgé╠ìLé¬éΦò√â}âbâsâôâO "
  156.                     
  157.                 1 /* âuâèâôé╠âVâFü[âfâBâôâOéQ  gauss */
  158.                     
  159.                     ö╜Ä╦ùªé╠éqɼò¬
  160.                     ö╜Ä╦ùªé╠éfɼò¬
  161.                     ö╜Ä╦ùªé╠éaɼò¬
  162.                     " ö╜Ä╦ùªâ}âbâsâôâO "
  163.                     ânâCâëâCâgé╠ìLé¬éΦò√           /* æσ - ëséó */
  164.                     " ânâCâëâCâgé╠ìLé¬éΦò√â}âbâsâôâO "
  165.                     âtâîâlâïé╠ö╜Ä╦ùª               /* ïα:0.5 ïΓ:0.9 */
  166.                     " âtâîâlâïé╠ö╜Ä╦ùªâ}âbâsâôâO "
  167.                     
  168.                 2 /* ê┘ò√ɽö╜Ä╦éP  ë~ */
  169.                     
  170.                     ö╜Ä╦ùªé╠éqɼò¬
  171.                     ö╜Ä╦ùªé╠éfɼò¬
  172.                     ö╜Ä╦ùªé╠éaɼò¬
  173.                     " ö╜Ä╦ùªâ}âbâsâôâO "
  174.                     ë~é╠ÆåÉSé╠éwì└òW
  175.                     ë~é╠ÆåÉSé╠éxì└òW
  176.                     ë~é╠ÆåÉSé╠éyì└òW
  177.                     ë~é╠ò√ÉⁿâxâNâgâïé╠éwɼò¬
  178.                     ë~é╠ò√ÉⁿâxâNâgâïé╠éxɼò¬
  179.                     ë~é╠ò√ÉⁿâxâNâgâïé╠éyɼò¬
  180.                     âpâëâüü|â^é`                /* B " A " C */
  181.                     " âpâëâüü|â^é`â}âbâsâôâO "  /* A=C=1.0, B=0.1 */
  182.                     âpâëâüü|â^éa
  183.                     " âpâëâüü|â^éaâ}âbâsâôâO "
  184.                     âpâëâüü|â^éb
  185.                     " âpâëâüü|â^ébâ}âbâsâôâO "
  186.                     
  187.                 3 /* ê┘ò√ɽö╜Ä╦éQ  ò╜ìs */
  188.                     
  189.                     ö╜Ä╦ùªé╠éqɼò¬
  190.                     ö╜Ä╦ùªé╠éfɼò¬
  191.                     ö╜Ä╦ùªé╠éaɼò¬
  192.                     " ö╜Ä╦ùªâ}âbâsâôâO "
  193.                     Å¥é╠ò√îⁿâxâNâgâïé╠éwɼò¬
  194.                     Å¥é╠ò√îⁿâxâNâgâïé╠éxɼò¬
  195.                     Å¥é╠ò√îⁿâxâNâgâïé╠éyɼò¬
  196.                     âpâëâüü|â^é`
  197.                     " âpâëâüü|â^é`â}âbâsâôâO "
  198.                     âpâëâüü|â^éa
  199.                     " âpâëâüü|â^éaâ}âbâsâôâO "
  200.                     âpâëâüü|â^éb
  201.                     " âpâëâüü|â^ébâ}âbâsâôâO "
  202.                     
  203.                 4 /* Cook-Torranceé╠âVâFü[âfâBâôâO */
  204.                     
  205.                     ö╜Ä╦ùªé╠éqɼò¬
  206.                     ö╜Ä╦ùªé╠éfɼò¬
  207.                     ö╜Ä╦ùªé╠éaɼò¬
  208.                     " ö╜Ä╦ùªâ}âbâsâôâO "
  209.                     ânâCâëâCâgéPé╠èäìç
  210.                     " ânâCâëâCâgéPé╠èäìçâ}âbâsâôâO "
  211.                     ânâCâëâCâgéPé╠ìLé¬éΦò√             /* æσ - ëséó */
  212.                     " ânâCâëâCâgéPé╠ìLé¬éΦò√â}âbâsâôâO "
  213.                     ânâCâëâCâgéQé╠ìLé¬éΦò√
  214.                     " ânâCâëâCâgéQé╠ìLé¬éΦò√â}âbâsâôâO "
  215.                     
  216.                 5 /* âRâôâXâ^âôâgâVâFü[âfâBâôâO */
  217.                   /* color1 * cos^k + color2 * ( 1- cos^k) */
  218.                     color1é╠éqɼò¬
  219.                     color1é╠éfɼò¬
  220.                     color1é╠éaɼò¬
  221.                     " color1â}âbâsâ